/*---------------------------------------------------------------------------------------------
 *  Copyright (c) Microsoft Corporation. All rights reserved.
 *  Licensed under the MIT License. See License.txt in the project root for license information.
 *--------------------------------------------------------------------------------------------*/

.monaco-workbench .part.activitybar {
    width: 48px;
    height: 100%;
}

.monaco-workbench .activitybar.bordered::before {
    content: '';
    float: left;
    position: absolute;
    box-sizing: border-box;
    height: 100%;
    width: 0px;
    border-color: inherit;
}

.monaco-workbench .activitybar.left.bordered::before {
    right: 0;
    border-right-style: solid;
    border-right-width: 1px;
}

.monaco-workbench .activitybar.right.bordered::before {
    left: 0;
    border-left-style: solid;
    border-left-width: 1px;
}

.monaco-workbench .activitybar>.content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


/*
 * Fix menu jumping and background inheritance in Safari
 */

.monaco-workbench.safari .activitybar>.content {
    position: absolute;
    background-color: inherit;
}


/** Home Bar */

.monaco-workbench .activitybar>.content>.home-bar {
    position: relative;
    width: 100%;
    height: 48px;
}


/** modify-by-github.surf, add homeIndicator click style */

.monaco-workbench .activitybar>.content>.home-bar:hover {
    opacity: 0.7;
}

.monaco-workbench .activitybar>.content>.home-bar:active {
    opacity: 0.4;
}

.monaco-workbench .activitybar>.content>.home-bar>.home-bar-icon-badge {
    position: absolute;
    right: 10px;
    bottom: 9px;
    width: 14px;
    height: 14px;
    z-index: 1;
    /* on top of home indicator */
    background-image: url('../../../media/code-icon.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 14px;
    pointer-events: none;
    border-top: 2px solid transparent;
    border-left: 2px solid transparent;
}


/** Viewlet Switcher */

.monaco-workbench .activitybar>.content .monaco-action-bar {
    text-align: left;
    background-color: inherit;
}

.monaco-workbench .activitybar .action-item:focus {
    outline: 0 !important;
    /* activity bar indicates focus custom */
}

.monaco-workbench .activitybar>.content>.composite-bar {
    margin-bottom: auto;
}


/** Menu Bar */

.monaco-workbench .activitybar .menubar {
    width: 100%;
    height: 35px;
}

.monaco-workbench .activitybar .menubar.compact .toolbar-toggle-more {
    width: 100%;
    height: 35px;
}